package wang.jinggo.util;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author tanljs
 * @date 2018-07-06
 */
public class EsPage implements Serializable {

    // 查询es结果
    private Long recordCount; // 总记录数
    private List<Map<String, Object>> recordList; // 本页的数据列表
    private List<String> ids;//结果id集合
    private Integer pageNo;
    private Integer pageSize;

    public List<String> getIds() {
        return ids;
    }

    public EsPage setIds(List<String> ids) {
        this.ids = ids;
        return this;
    }

    public Long getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(Long recordCount) {
        this.recordCount = recordCount;
    }

    public List<Map<String, Object>> getRecordList() {
        return recordList;
    }

    public void setRecordList(List<Map<String, Object>> recordList) {
        this.recordList = recordList;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
